#include "telbook.h"
void myusage(char c)
{
 switch(c)
 {
  case 'c':printf("Usage:to create file: ./a.out -c <phonebook_name> <size_index>\n");
           break;
  case 'w':printf("Usage:to write to file: ./a.out -w <phonebook_name> <index> <entry_name> <entry_number>\n");
           break;
  case 'r':printf("Usage:to read from file: ./a.out -r <phonebook_name> <index>\n");
           break;
  default:printf("Usage: to create file:  ./a.out -c <phonebook_name> <size_index>\n");
          printf("     :to write to file:  ./a.out -w <phonebook_name> <index> entry_name> <entry_number>\n");
          printf("     :to read from file:  ./a.out -r <phonebook_name> <index>\n");
 }

exit(0);
}


   
